﻿// <copyright file="PuzzleDefinition.cs" company="ThorIndustry">Copyright (c) ThorIndustry. All rights reserved.</copyright>

public class PuzzleDefinition : IDatatableElement
{
    public PuzzleDefinition()
    {
        this.Hidden = false;
    }

    [System.Xml.Serialization.XmlAttribute]
    public bool Hidden
    {
        get;
        set;
    }

    [System.Xml.Serialization.XmlAttribute]
    public string LocalizedName
    {
        get;
        set;
    }

    [System.Xml.Serialization.XmlAttribute]
    public string Name
    {
        get;
        set;
    }

    public PuzzleOutline Outline
    {
        get;
        set;
    }

    [System.Xml.Serialization.XmlAttribute]
    public string ShapesDefinitionName
    {
        get;
        set;
    }

    [System.Xml.Serialization.XmlElement(ElementName = "Solution", Type = typeof(PuzzleSolution))]
    public PuzzleSolution Solution
    {
        get;
        set;
    }
}
